﻿@using GSLMS.Entity.Enum
@using GSLMS.WebAPP
@model GSLMS.Entity.TB_APP_PROINFO
@{
    Layout = null;
    var loanReturn = Model.ProLoanRetuen ?? new List<GSLMS.Entity.TB_LOAN_RETURN>();

    Model.ProUnForHouInfo = Model.ProUnForHouInfo ?? new GSLMS.Entity.TB_APP_PROUNFORHOUINFO();
}
<style>
    #divProRepayment p
    {
        width: 250px;
        white-space: nowrap;
        line-height: 21px;
    }
</style>
<div class="pageContent">
    <div class="pageFormContent" id="divProRepayment">
        <p>
            <label>
                客户名称：</label>
            @Html.ValueFor(model => model.CUSTNAME)
        </p>
        @* <p>
            <label>
                证件类型：</label>
            @Html.ValueFor(model => model.DOCTYPENAME)
        </p>*@
        <p>
            <label>
                证件号码：</label>
            @Html.ValueFor(model => model.CUSTNO)
        </p>
        <p>
            <label>
                申请编号：</label>
            @Html.ValueFor(model => model.APPLYNO)
        </p>
        <p>
            <label>
                贷款产品：</label>
            @Html.ValueFor(model => model.PRODUCTNAME)
        </p>
        <p>
            <label>
                联系人手机：</label>
            @Html.ValueFor(model => model.CONTRACTTEL)
        </p>
        <p>
            <label>
                贷款期限：</label>
            @Html.ValueFor(model => model.LOANPHASE)
            @(Model.LOANPHAESTYPE == 0 ? "天" : "月")
        </p>
        <p>
            <label>
                综合费率：</label>
            @Html.ValueFor(model => model.GENERALRATE)
        </p>
        <p>
            <label>
                利率：</label>
            @Html.ValueFor(model => model.RATE)
        </p>
        <p>
            <label>
                管理费率：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                还款方式：</label>
            @((ApplyEnum.ProRepayment)Model.ProUnForHouInfo.REPAYMENT)
        </p>
        <p>
            <label>
                已收贷款总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收本金总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收管理费总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收利息总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收手续费总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收逾期利息总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label style="width: 140px">
                已收扣款失败手续费总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收违约金总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <p>
            <label>
                已收外包催收费总额：</label>
            @Html.ValueFor(model => model.MANAGEFEERATE)
        </p>
        <div class="divider">
        </div>
    </div>
    <div class="pageHeader">
        <form onsubmit="return divSearch(this,'divProRepaymentList');" action="DianDang/Apply/ProInfo/RepaymentList?OpID=@ViewData["OperateID"]" method="post">
        @Html.HiddenFor(model => model.ID)
        <div class="searchBar">
            <ul class="searchContent" style="height:26px">
                <li style="width: 250px">
                    <label>
                        还款日期:</label>
                    @Html.TextBox("PayDate", DateTime.Now, new { @class = "date", format = "yyyy-MM-dd", @readonly = "true", formatDate = "yyyy-MM-dd" })
                </li>
                <li style="width: 250px">
                    <label>
                        结算方式:</label>
                    <select class="combox" name="IntType" id="IntType">
                        <option value="">---请选择---</option>
                        <option value="1">正常应还款</option>
                        <option value="2">提前结清</option>
                    </select>
                </li>
                <li style="height: 26px">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                检索</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
    <div id="divProRepaymentList">
        @Html.Partial("RepaymentList", loanReturn)
    </div>
</div>
